package com.gym.redis;

/**
 * Created by jiangyunxiong on 2018/5/21.
 * <p>
 * 缓冲key前缀
 *
 * @author
 */
public interface KeyPrefix {

    /**
     * 有效期
     *
     * @return
     */
    int expireSeconds();

    /**
     * 前缀
     *
     * @return
     */
    String getPrefix();
}
